package org.example.content.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.example.content.mapper.ContentMapper;
import org.example.content.service.ContentService;
import org.example.model.domain.Content;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class ContentServiceImpl implements ContentService {
    @Autowired
    private ContentMapper contentMapper;

    @Override
    public List<Content> selectContentList() {
        return contentMapper.selectContentList();
    }
}
